package qingke.pojo;

public class Product {
	private int id;
	private String name;
	private double price;
	// private int productUnitID;
	private String catalog;
	private int amount;

	public Product() {

	}

	public Product(int id, String name, double price, String catalog) {
		this.id = id;
		this.name = name;
		this.price = price;
		this.catalog = catalog;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	// public int getProductUnitID() {
	// return productUnitID;
	// }
	// public void setProductUnitID(int productUnitID) {
	// this.productUnitID = productUnitID;
	// }
	public String getCatalog() {
		return catalog;
	}

	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	public String toString1() {
		return "Product [id=" + id + ", name=" + name + ", price=" + price + ", catalog=" + catalog + "]";
	}

	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", price=" + price + ", catalog=" + catalog + ", amount="
				+ amount + "]";
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}
}
